/* 主要容器样式 */
.cart-items {
    padding: 30px 0;
    background-color: rgb(19, 165, 172);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
     background-color: rrgb(18, 103, 109);
}

/* 订单标题 */
h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: rgb(19, 165, 172);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

table th {
    background-color: #f8f9fa;
    font-size: 16px;
    font-weight: bold;
}

table td p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 订单状态颜色 */
table td span {
    font-weight: bold;
}

table td span[style="color:red;"] {
    color: red;
}

table td span[style="color:green;"] {
    color: green;
}

table td span[style="color:blue;"] {
    color: blue;
}

/* 返回按钮样式 */
.btn-back {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-back:hover {
    background-color: #0056b3;
    color: white;
}

/* 响应式设计：确保表格和按钮适应手机屏幕 */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    table th, table td {
        padding: 8px;
        font-size: 12px;
    }

    .btn-back {
        width: 100%;
        text-align: center;
    }
}
